Class DeviceDialogImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.DeviceDialogImpl
All Implemented Interfaces:
IPCObject, DeviceDialog

public class DeviceDialogImpl extends IPCObjectImpl implements DeviceDialog
Information provided by the PKI file:

    \class DeviceDialog
    
    \brief DeviceDialog are the collection of dialogs used to edit the devices.
    
    \remark To manipulate the device configuration, use the Device object.
    
    \example appWindow().getDialogManager().getDialog("Router0")
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • setVisible

      public void setVisible(boolean bVisible)
      Information provided by the PKI file:
      
          \brief Shows or hides this device dialog widget from view.
          
          \param bVisible, true to show this device dialog, false to hide it.
          
              
      Specified by:
      setVisible in interface DeviceDialog
      Parameters:
      bVisible - Takes in a parameter of bVisible
    • setWidgetVisible

      public void setWidgetVisible(String name, boolean bVisible)
      Information provided by the PKI file:
      
          \brief Shows or hides the specified child widget.
          
          \param name         where name can be one of the following:
          IPConfigBtn, IPConfigLbl, DialupBtn, DialupLbl, TerminalBtn, TerminalLbl,
          CommandPromptBtn, CommandPromptLbl, WebBrowserBtn, WebBrowserLbl,
          PCWirelessBtn, PCWirelessLbl, VPNBtn, VPNLbl, TrafficGeneratorBtn, TrafficGeneratorLbl,
          MIBBroswerBtn, MIBBrowserLbl, IPCommunicatorBtn, IPCommunicatorLbl, EmailBtn, EmailLbl,
          PPPoEDialerBtn, PPPoEDialerLbl, TextEditorBtn, TextEditorLbl, FirewallBtn, FirewallLbl,
          IPv6FirewallBtn, IPv6FirewallLbl, AAAAccountingBtn, AAAAccountingLbl,
          NetflowCollectorBtn, NetflowCollectorLbl, IoXSdkBtn, IoXSdkLbl, TftpLbl, TftpBtn,
          SshClientBtn, SshClientLbl, BluetoothBtn, BluetoothLbl, IoT Monitor_btn, IoT Monitor_lbl,
          IoT IDE_btn, IoT IDE_lbl, User Apps Manager_btn, User Apps Manager_lbl
          \param bVisible, true to show the child widget, false to hide it.
          
              
      Specified by:
      setWidgetVisible in interface DeviceDialog
      Parameters:
      name - Takes in a parameter of name
      bVisible - Takes in a parameter of bVisible
    • setDisabled

      public void setDisabled(boolean bDisabled)
      Information provided by the PKI file:
      
          \brief Enables or disables input events to this device dialog widget.
          
          \param bDisabled, true to disable this device dialog, false to enable it.
          
              
      Specified by:
      setDisabled in interface DeviceDialog
      Parameters:
      bDisabled - Takes in a parameter of bDisabled
    • setWidgetDisable

      public void setWidgetDisable(String name, boolean bDisabled)
      Information provided by the PKI file:
      
          \brief Enables or disables the specified child widget.
          
          \param name         where name can be one of the following:
          IPConfigBtn, IPConfigLbl, DialupBtn, DialupLbl, TerminalBtn, TerminalLbl,
          CommandPromptBtn, CommandPromptLbl, WebBrowserBtn, WebBrowserLbl,
          PCWirelessBtn, PCWirelessLbl, VPNBtn, VPNLbl, TrafficGeneratorBtn, TrafficGeneratorLbl,
          MIBBroswerBtn, MIBBrowserLbl, IPCommunicatorBtn, IPCommunicatorLbl, EmailBtn, EmailLbl,
          PPPoEDialerBtn, PPPoEDialerLbl, TextEditorBtn, TextEditorLbl, FirewallBtn, FirewallLbl,
          IPv6FirewallBtn, IPv6FirewallLbl, AAAAccountingBtn, AAAAccountingLbl,
          NetflowCollectorBtn, NetflowCollectorLbl, IoXSdkBtn, IoXSdkLbl, TftpLbl, TftpBtn,
          SshClientBtn, SshClientLbl, BluetoothBtn, BluetoothLbl, IoT Monitor_btn, IoT Monitor_lbl,
          IoT IDE_btn, IoT IDE_lbl, User Apps Manager_btn, User Apps Manager_lbl
          \param bDisabled, true to disable the child widget, false to enable it.
          
              
      Specified by:
      setWidgetDisable in interface DeviceDialog
      Parameters:
      name - Takes in a parameter of name
      bDisabled - Takes in a parameter of bDisabled
    • disableCLIImportExport

      public void disableCLIImportExport(boolean bDisable)
      Information provided by the PKI file:
      
          \brief Enable or disable copying and pasting from the CLI.
          
          \param bDisable, true to disable copying and pasting from the CLI, false to enable it.
          
              
      Specified by:
      disableCLIImportExport in interface DeviceDialog
      Parameters:
      bDisable - Takes in a parameter of bDisable
    • reloadCustomHtmlTab

      public void reloadCustomHtmlTab()
      Information provided by the PKI file:
      
          \brief Reload custom html tab
          
              
      Specified by:
      reloadCustomHtmlTab in interface DeviceDialog
    • hasDesktop

      public boolean hasDesktop()
      Information provided by the PKI file:
      
          \brief Check if the device dialog has desktop tab
          
          \return bool, true if it does and false if it does not
          
              
      Specified by:
      hasDesktop in interface DeviceDialog
      Returns:
      boolean Returns a boolean
    • setTabVisible

      public boolean setTabVisible(String tabName, boolean visible)
      Information provided by the PKI file:
      
          \brief Shows or hides a tab in the device dialog.
          
          \param tabName, the name of the tab (case-insensitive) e.g. "physical", "config", "cli", etc.
          
          \param visible, true to to show the tab, false to hide it.
          
          \return bool, true if the tab was successfully shown or hidden, false otherwise.
          
              
      Specified by:
      setTabVisible in interface DeviceDialog
      Parameters:
      tabName - Takes in a parameter of tabName
      visible - Takes in a parameter of visible
      Returns:
      boolean Returns a boolean
    • addCustomDesktopApp

      public boolean addCustomDesktopApp(String name, String description, String iconPath, String customInterface)
      Information provided by the PKI file:
      
          \brief Add custom desktop app
          
          \param name, application name
          
          \param description, desktop app description
          
          \param iconPath, icon path
          
          \param customInterface, custom Interface name
          
              
      Specified by:
      addCustomDesktopApp in interface DeviceDialog
      Parameters:
      name - Takes in a parameter of name
      description - Takes in a parameter of description
      iconPath - Takes in a parameter of iconPath
      customInterface - Takes in a parameter of customInterface
      Returns:
      boolean Returns a boolean